﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000859 RID: 2137
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetTrainVisitorBehaviorCsReq : IMessage<GetTrainVisitorBehaviorCsReq>, IMessage, IEquatable<GetTrainVisitorBehaviorCsReq>, IDeepCloneable<GetTrainVisitorBehaviorCsReq>, IBufferMessage
	{
		// Token: 0x17001AFF RID: 6911
		// (get) Token: 0x06005FA1 RID: 24481 RVA: 0x000FF175 File Offset: 0x000FD375
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetTrainVisitorBehaviorCsReq> Parser
		{
			get
			{
				return GetTrainVisitorBehaviorCsReq._parser;
			}
		}

		// Token: 0x17001B00 RID: 6912
		// (get) Token: 0x06005FA2 RID: 24482 RVA: 0x000FF17C File Offset: 0x000FD37C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetTrainVisitorBehaviorCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B01 RID: 6913
		// (get) Token: 0x06005FA3 RID: 24483 RVA: 0x000FF18E File Offset: 0x000FD38E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetTrainVisitorBehaviorCsReq.Descriptor;
			}
		}

		// Token: 0x06005FA4 RID: 24484 RVA: 0x000FF195 File Offset: 0x000FD395
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTrainVisitorBehaviorCsReq()
		{
		}

		// Token: 0x06005FA5 RID: 24485 RVA: 0x000FF1A8 File Offset: 0x000FD3A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTrainVisitorBehaviorCsReq(GetTrainVisitorBehaviorCsReq other) : this()
		{
			this.visitorBehaviorIdList_ = other.visitorBehaviorIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005FA6 RID: 24486 RVA: 0x000FF1D2 File Offset: 0x000FD3D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTrainVisitorBehaviorCsReq Clone()
		{
			return new GetTrainVisitorBehaviorCsReq(this);
		}

		// Token: 0x17001B02 RID: 6914
		// (get) Token: 0x06005FA7 RID: 24487 RVA: 0x000FF1DA File Offset: 0x000FD3DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> VisitorBehaviorIdList
		{
			get
			{
				return this.visitorBehaviorIdList_;
			}
		}

		// Token: 0x06005FA8 RID: 24488 RVA: 0x000FF1E2 File Offset: 0x000FD3E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetTrainVisitorBehaviorCsReq);
		}

		// Token: 0x06005FA9 RID: 24489 RVA: 0x000FF1F0 File Offset: 0x000FD3F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetTrainVisitorBehaviorCsReq other)
		{
			return other != null && (other == this || (this.visitorBehaviorIdList_.Equals(other.visitorBehaviorIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005FAA RID: 24490 RVA: 0x000FF224 File Offset: 0x000FD424
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.visitorBehaviorIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005FAB RID: 24491 RVA: 0x000FF258 File Offset: 0x000FD458
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005FAC RID: 24492 RVA: 0x000FF260 File Offset: 0x000FD460
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005FAD RID: 24493 RVA: 0x000FF269 File Offset: 0x000FD469
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.visitorBehaviorIdList_.WriteTo(ref output, GetTrainVisitorBehaviorCsReq._repeated_visitorBehaviorIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005FAE RID: 24494 RVA: 0x000FF290 File Offset: 0x000FD490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.visitorBehaviorIdList_.CalculateSize(GetTrainVisitorBehaviorCsReq._repeated_visitorBehaviorIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005FAF RID: 24495 RVA: 0x000FF2C9 File Offset: 0x000FD4C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetTrainVisitorBehaviorCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.visitorBehaviorIdList_.Add(other.visitorBehaviorIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005FB0 RID: 24496 RVA: 0x000FF2F7 File Offset: 0x000FD4F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005FB1 RID: 24497 RVA: 0x000FF300 File Offset: 0x000FD500
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U && num != 114U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.visitorBehaviorIdList_.AddEntriesFrom(ref input, GetTrainVisitorBehaviorCsReq._repeated_visitorBehaviorIdList_codec);
				}
			}
		}

		// Token: 0x040024CC RID: 9420
		private static readonly MessageParser<GetTrainVisitorBehaviorCsReq> _parser = new MessageParser<GetTrainVisitorBehaviorCsReq>(() => new GetTrainVisitorBehaviorCsReq());

		// Token: 0x040024CD RID: 9421
		private UnknownFieldSet _unknownFields;

		// Token: 0x040024CE RID: 9422
		public const int VisitorBehaviorIdListFieldNumber = 14;

		// Token: 0x040024CF RID: 9423
		private static readonly FieldCodec<uint> _repeated_visitorBehaviorIdList_codec = FieldCodec.ForUInt32(114U);

		// Token: 0x040024D0 RID: 9424
		private readonly RepeatedField<uint> visitorBehaviorIdList_ = new RepeatedField<uint>();
	}
}
